package com.zhiyou100.taxi.service;

import com.github.pagehelper.PageInfo;
import com.zhiyou100.taxi.entity.CarOut;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author zhaokuii11@163.com
 * @create 2021-11-24 19:25
 * @Description
 */
public interface CarOutService {

    int deleteByCustomerId(String customerId);

    int deleteByCarId(String crId);

    PageInfo<CarOut> queryPage(Integer pageNum);

    List<CarOut> getAll();

    CarOut getByPrimaryKey(String carOutId);

    int insert(CarOut carOut);

    int updateByPrimaryKey(CarOut carOut);

    int deleteByPrimaryKey(String carOutId);

    String getPrimaryKey();

    int deleteByPrimaryKeyS(Set<String> set);
}
